package com.project.mapper;

import com.project.bean.ManBean;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface IManMapper {
    @Select("select * from t_man")
    @ResultMap("manMap")
    public List<ManBean> findAll();
}
